Skip to content

Fix 3789#3790

Open
titusfortner wants to merge 3 commits into
bazel-contrib:mainfrom
titusfortner:fix_3789
Open

Fix 3789#3790
titusfortner wants to merge 3 commits into
bazel-contrib:mainfrom
titusfortner:fix_3789

Conversation

@titusfortner
Copy link
Copy Markdown

Fixes #3789 - see issue for complete explanation

  • Not a breaking change
  • Test added
  • Internal implementation so no docs changes necessary

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request fixes a Windows-specific failure for py_test and py_binary targets with path separators in their names by declaring the bootstrap stub as a sibling of the executable. The fix is accompanied by a new test case and a changelog entry. Reviewers suggested that the virtual environment creation logic might also need this fix and noted that the new test should be reordered alphabetically to follow the file's internal rules.

Comment thread python/private/py_executable.bzl
Comment thread tests/base_rules/py_executable_base_tests.bzl Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows py_test launcher cannot find bootstrap stub when target name contains slashes

1 participant